import Vue from 'vue'
import ElementUI from "element-ui";
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import router from './router'
import '@/assets/common.css'

Vue.config.productionTip = false

import axios from 'axios';
axios.defaults.baseURL = process.env.VUE_APP_SERVER;
Vue.use(ElementUI);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')

console.log('环境：', process.env.NODE_ENV);
console.log('服务端：', process.env.VUE_APP_SERVER);

/*Vue.prototype.$eventBus = new Vue();*/


